package com.ruoyi.project.oms.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.db.oms.mapper.OmsOrderGoodsMapper;
import com.ruoyi.db.oms.domain.OmsOrderGoods;

/**
 * 订单商品Service业务层处理
 *
 * @author yfy
 * @date 2020-04-25
 */
@Service
public class OmsOrderGoodsService
{
    @Autowired
    private OmsOrderGoodsMapper omsOrderGoodsMapper;

    /**
     * 查询订单商品列表
     *
     * @param orderId 订单商品查询参数
     * @return 订单商品
     */
    public List<OmsOrderGoods> getOrderGoodsList(Long orderId)
    {
        return omsOrderGoodsMapper.getOrderGoodsList(orderId);
    }

}
